package 标准类;

public class CameraTest {
    public static void main(String[] args) {
        Camera c1 = new Camera();
        c1.setBrand("佳能 Canon");
        c1.setType("EOS 4000D0");
        c1.setScene("+18-55mm III镜头");
        c1.setPlace("日本");
        c1.setPrice(5999);
        c1.setColor("黑色");
        c1.setAppraise(5500);

        // 查看属性
        c1.show();
        System.out.println("=====================================");

        // 带参
        Camera c2 = new Camera("索尼", "A7R IV", "+24-70mm F2.8镜头", "日本", 29999, "黑色", 5000);
        // 查看属性
        c2.show();

    }
}
